<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $uid 用户id
 * @property int $anchor_id 主播id
 * @property int $score 亲密度（1金币=1亲密度）
 * @property int $level 亲密度等级
 * @property int $ctime 首次产生亲密度时间
 * @property int $update_time 上次产生亲密度时间
 */
class Closeness extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_closeness';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'anchor_id' => 'integer', 'score' => 'integer', 'level' => 'integer', 'ctime' => 'integer', 'update_time' => 'integer'];
}
